﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InnovTech.Data;
using System.IO;
using System.Text.RegularExpressions;

namespace InnovTech.Localization.VS
{
    public class VSSolution
    {
        public string FileFullPath { get; private set; }

        List<VSProject> _projects;
        public List<VSProject> Projects
        {
            get
            {
                if (_projects == null)
                {

                }
                return _projects;
            }
        }

        private void LoadProjects()
        {
            string content = null;
            using(FileStream fs = File.OpenRead(FileFullPath))
            using (TextReader reader = new StreamReader(fs))
            {
                content = reader.ReadToEnd();
            }

            Regex regex = new Regex("^Project(\"" + Environment.NewLine + "EndProject$");
        }
    }
}
